﻿using System;
using System.Collections.Generic;
using System.Text;

namespace OrderManagementForm
{
   

    public class OrderManagement
    {

        //订单
        public struct order
        {
            public order(int id,string customer,string goods, double  money)
            {
                this.id = id;
                this.customer = customer;
                this.goods = goods;
                this.money = money;
            }
            public int id;
            public string customer;
            public string goods;
            public  double money;
        }

        //订单详细
      public struct orderitem
        {
            public orderitem(int id, string customer, string goods, double money,double price,double amount)
            {
                this.id = id;
                this.customer = customer;
                this.goods = goods;
                this.money = money;
                this.price = price;
                this.amount = amount;
            }
           public int id;
           public string customer;
           public string goods;
           public double money;
           public double price;
           public double amount;
        }
        OrderManagement()
        {
           
        }

        public static List<order> Order = new List<order>();
        public static List<orderitem> OrderItem = new List<orderitem>();
    }
}
